import { defineConfig } from 'vite'
import glsl from 'vite-plugin-glsl'
export default defineConfig({
    root: 'src',
    publicDir: 'public',
    build: {
        outDir: 'dist',
        assetsDir: 'assets',
        emptyOutDir: true,
        rollupOptions: {
            output: {
                assetFileNames: 'assets/[name]-[hash][extname]'
            }
        }
    },
    plugins: [
        glsl(),
    ]
})